<?php

class SIG_Plugins_Acl extends Zend_Controller_Plugin_Abstract {

    public $_acl;

    public function __construct(Zend_Acl $acl) {
        $this->_acl = $acl;
    }

    /*public function preDispatch(Zend_Controller_Request_Abstract $request) {
        $session = new Zend_Session_Namespace('role');

        $isAllowed = $this->_acl->isAllowed($session->role,
                        $request->getControllerName(),
                        $request->getActionName());

        if (!$isAllowed) {
            $request->setParam('permissiondenied', "true");
            $request->setControllerName('index');
            $request->setActionName('logoff');
        }
    }*/

}